package com.langsin.wanghongxiang.mapper;

import com.langsin.bean.Worker;

import java.util.List;

/*
就是WorkerDao
 */
public interface WorkerMapper {
    //新增一个工人方法
    int insertWorker(Worker worker);

    List<Worker>  selectByAge(Integer age);

    int insertWorker2(Worker worker);

    int updateWorkerByCondition(Worker worker);


}
